//
//  Stroy.m
//  BTRIP
//
//  Created by johnbk on 15/11/13.
//  Copyright © 2015年 johnbk. All rights reserved.
//

#import "Story.h"

@implementation Story
-(void)dealloc{
	[_type release];
	[_text release];
	[_url release];
	[super dealloc];
}
-(void)setValue:(id)value forKey:(NSString *)key{
	if ([key isEqualToString:@"image"]) {
		self.url = [value objectForKey:@"url"];
	}
	else{
		[super setValue:value forKey:key];
	}
}
@end
